Skip to content

fix: render text under block cursor with cursorAccent color#131

Merged
sreya merged 1 commit intomainfrom
block-cursor
Feb 24, 2026
Merged

fix: render text under block cursor with cursorAccent color#131
sreya merged 1 commit intomainfrom
block-cursor

Conversation

@sreya
Copy link
Contributor

@sreya sreya commented Feb 24, 2026

Block cursors now re-draw the character underneath using the cursorAccent theme color, making text visible on the opaque cursor. Uses ctx.clip() to prevent wide characters from bleeding outside the cursor cell.

Block cursors now re-draw the character underneath using the
cursorAccent theme color, making text visible on the opaque cursor.
Uses ctx.clip() to prevent wide characters from bleeding outside
the cursor cell.

Co-authored-by: Nathan Cooper <ncoop57@users.noreply.github.com>
@sreya
Copy link
Contributor Author

sreya commented Feb 24, 2026

@codex review

@chatgpt-codex-connector
Copy link

Codex Review: Didn't find any major issues. Keep it up!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@sreya sreya merged commit 174a554 into main Feb 24, 2026
5 checks passed
sreya added a commit to 0xBigBoss/ghostty-web that referenced this pull request Feb 24, 2026
Block cursors now re-draw the character underneath using the
cursorAccent theme color, making text visible on the opaque cursor.
Uses ctx.clip() to prevent wide characters from bleeding outside
the cursor cell.

Co-authored-by: Nathan Cooper <ncoop57@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant